package com.tensquare.usercrawler.client;

import org.springframework.stereotype.Component;

import com.tensquare.dto.Result;
import com.tensquare.dto.StatusCode;
import com.tensquare.dto.User;

/**
 * 熔断类
 * @author Johnny.Chen
 *
 */
@Component
public class UserClientImpl implements UserClient {

	@Override
	public Result add(User user) {
		return new Result(false,StatusCode.REMOTE_ERROR,"远程调用用户微服务入库异常");
	}

}
